import { ReactNode, Fragment } from 'react';
import CoustomHeader from '@/components/coustomHeader';
import CoustomFooter from '@/components/coustomFooter';


export interface IAppProps {
    children: ReactNode
}

export default function App(props: IAppProps) {
    const { children } = props
    return (
        <Fragment>
            <CoustomHeader />
            {children}
            <CoustomFooter />
        </Fragment>

    );
}
